import IdEnumItem from '../../framework/infra/enum/IdEnumItem'
import IdEnum from '../../framework/infra/enum/IdEnum'

// 订单状态：1-支付成功，5-确认收货，10-结算，15-退款
export default class OrderStatusEnum extends IdEnum {

  // 全部
  static ALL = new IdEnumItem(null, '全部')
  // 待支付
  static NORMAL = new IdEnumItem(0, '待支付')
  // 代发货
  static WAIT_SEND = new IdEnumItem(1, '待发货')
  // 待收货
  static WAIT_RECEIVE = new IdEnumItem(2, '待收货')
  // 待评论
  static WAIT_COMMENT = new IdEnumItem(3, '待评论')
  // 交易关闭
  static CLOSED = new IdEnumItem(-1, '已取消')

  static DONE = new IdEnumItem(10, '已完成', {type: 'info'})


}

